{% extends "../base.html" %}
{% block page_title %}申请提现{% end %}
{% block content %}
<div class="countgo pull-left">
    <div class="zt">
        <!--MAN -->
        <div class="remain" style="height: 553px;">
            <div class="gao1"></div>
            <div class="page-header long-header">
                <h3>交易系统
                    <small> 申请提现</small>
                </h3>
            </div>
            <div>
                <ol class="breadcrumb">
                    <li><span class="glyphicon glyphicon-home" aria-hidden="true"></span> <a href="/user/home">主页</a>
                    </li>
                    <li><a href="#">账户管理</a></li>
                    <li class="active">申请提现</li>
                </ol>
            </div>


            <div class="panel panel-default">
                <div class="panel-heading">申请提现</div>


                <div class="panel-body">
                    <p>注:提现将收取5%手续费</p>


                    <!--主-->
                    <form class="form-horizontal" method="post">
                        {% module xsrf_form_html() %}
                        <div class="form-group">
                            <label for="x1" class="col-sm-2 control-label">您的金币余额</label>

                            <div class="col-sm-10">
                                <input disabled="disabled" class="form-control form-long-w1" id="x1"
                                       placeholder="您的金币余额" value="{{myuser.get('jinbi')}}">
                            </div>
                        </div>


                        <div class="form-group">
                            <label for="x3" class="col-sm-2 control-label">提现方式</label>
                            {%set banks={u"中国工商银行":"中国工商银行",u"中国农业银行":"中国农业银行",u"中国建设银行":"中国建设银行",u"中国银行":"中国银行"}%}
                            <div class="col-sm-3">
                                <select name="account_type" id="account_type" class="form-control ">

                                    {%for k,v in banks.items()%}
                                    <option value="{{k}}" {%if myuser.get('bank',{}).get('name')==k %}selected{%end%}>{{k}}</option>
                                    {%end%}
                                    <option value="支付宝" >支付宝</option>
                                </select>
                            </div>
                        </div>
                         <div class="form-group">
                            <label for="x2" class="col-sm-2 control-label">提现金额</label>

                            <div class="col-sm-10">
                                <input class="form-control form-long-w1"  name="money" id="x2" placeholder="提现金额" value=""
                                       maxlength="10">
                            </div>
                        </div>
                         <div class="form-group  alipay">
                            <label for="x3" class="col-sm-2 control-label">提现账户姓名</label>

                            <div class="col-sm-10">
                                <input class="form-control form-long-w1"   disabled value="{{myuser.get('real_name','')}}">
                            </div>
                        </div>
                        <div class="form-group  alipay">
                            <label for="x3" class="col-sm-2 control-label">提现账户账号</label>

                            <div class="col-sm-10">
                                <input class="form-control form-long-w1" name="account" id="x3" placeholder="支付宝账号/银行卡号" value="">
                            </div>
                        </div>

                        <!--<div class="form-group">-->
                            <!--<label for="x4" class="col-sm-2 control-label">支付宝姓名</label>-->

                            <!--<div class="col-sm-10">-->
                                <!--<input class="form-control form-long-w1" name="alipay_name" id="x4" disabled placeholder="收款的支付宝账号姓名,真实姓名" value="{{myuser.get('real_name','')}}">-->
                            <!--</div>-->
                        <!--</div>-->
                        <!--<div class="form-group">-->
                            <!--<div class="col-sm-offset-2 col-sm-10">-->
                                <!--<div class="checkbox">-->
                                    <!--<label><input type="checkbox" name="checked" checked="checked" id="x5"> 设置该支付宝账号为默认收款账号</label>-->
                                <!--</div>-->
                            <!--</div>-->
                        <!--</div>-->


                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10" id="x4-cos"></div>
                        </div>

                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <button type="submit" class="btn btn-warning goumai_go">申请提现</button>
                            </div>
                        </div>
                    </form>


                    <!--End-->
                </div>


            </div>
        </div>
        <!--MAN End-->
    </div>
</div>
{%end%}
